<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>地域信息</title>
<t:base type="jquery,easyui,tools"></t:base>
<script type="text/javascript">
</script>
</head>
<body style="overflow-y: hidden" scroll="no">
<t:formvalid formid="formobj" layout="div" dialog="true" refresh="true" action="territoryController.do?saveTerritory">
	<fieldset class="step">
        <div class="form">
            <label class="Validform_label"> <t:mutiLang langKey="area.name"/>: </label>
            <input name="territoryName" class="inputxt" datatype="s2-15" ajaxurl="territoryController.do?checkAreaNameUnique">
            <span class="Validform_checktip"><t:mutiLang langKey="areaname.rang2to15"/></span>
        </div>
        <div class="form">
            <label class="Validform_label"> 是否省会: </label>
            <label for="capital_y">
            	<input type="radio" name="isCapital" value="0" id="capital_y"> 是
            </label>
            <label for="capital_n">
            	<input type="radio" checked="checked" name="isCapital" value="1" id="capital_n"> 否
            </label>
        </div>
        <div class="form">
            <label class="Validform_label"> <t:mutiLang langKey="parent.area"/>: </label>
            <input id="pTerritoryId" name="TSTerritory.id" type="hidden" value="${empty territory ? '' : territory.TSTerritory.id}"/>
			<input id="pTerritoryName" type="text" readonly="readonly" style="width: 150px" value="${empty territory ? '' : territory.TSTerritory.territoryName}" />
			<t:choose hiddenName="pTerritoryId" hiddenid="id" inputTextname="pTerritoryName" textname="text"  
				title="地域" url="territoryController.do?goChooseTerritory" name="chooseTerritoryList" width="600px" height="600px"
				icon="icon-search"  isclear="true" />
        </div>
        <div class="form" >
            <label class="Validform_label"> <t:mutiLang langKey="display.order"/>: </label>
            <input name="territorySort" class="inputxt" datatype="n1-3">
        </div>
	</fieldset>
</t:formvalid>
</body>
</html>
